package com.yxym.interface_;

public class Interface {
    public static void main(String[] args) {
        //创建手机
        Phone phone = new Phone();
        //创建计算机
        Computer computer = new Computer();
        computer.work(phone);
        System.out.println("==============");
        phone.start();
        phone.stop();
    }
}